<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
    <h:head>
        <title>SGP</title>
        
        <link rel="stylesheet" href="css/cabecalho.css" type="text/css"/>
    </h:head>
    <h:body>
        <div id="topo">
            <div id="topo-logo">
                <div id="logoTeste">
                    <a href=""><img src="img/logoSgp.png" height="75" /></a>
                </div>

                <div id=""></div>
                <div class="clear"></div>
            </div>      
        </div>

        <div class="clear"></div>

        <div class="topo-menu">
            <div class="conteudo-menu">
                <div id="menu-direito">
                        
                    <div class="divisao"></div>
                    <div id="minha-conta">
                        <img src="img/layout/nav_myaccount.png" width="10" height="11" alt="" /> &nbsp;<h:outputText value="#{beanCabecalho.nomeUsuario}" />
                    </div>
                    <div class="divisao"></div>
                    <h:form><h:commandLink action="#{beanCabecalho.encerrar()}" ><img src="img/layout/nav_logout2.png" width="41" height="14" alt="" /></h:commandLink></h:form>
                    <div class="clear"></div>
                </div>

                <div class="menu">
                    <div class="menu-table">
                        <c:if test="#{beanCabecalho.idPermissao == 1}">
                            <ul class="select">
                                <li><a href="cadastroUsuario.xhtml"><b>Usuário</b></a></li>
                            </ul> 
                            <div class="divisao"></div>
                        </c:if>
                        <c:if test="#{beanCabecalho.idPermissao == 1 || beanCabecalho.idPermissao == 2}">
                            <ul class="select">
                                <li><a href="cadastroCliente.xhtml"><b>Cliente</b></a></li>
                            </ul>
                            <div class="divisao"></div>
                        </c:if> 
                        
                        <c:if test="#{beanCabecalho.idPermissao != 4 }">
                            <ul class="select">
                                <li><a href="cadastroProjeto.xhtml"><b>Projeto</b></a></li>
                            </ul>            
                            <div class="divisao"></div>
                        </c:if> 
                        
                        <c:if test="#{beanCabecalho.idPermissao != 4 }">
                            <ul class="select">
                                <li><a href="cadastroAtividadeProjeto.xhtml"><b>Atividade de Projeto</b></a></li>
                            </ul>
                            <div class="divisao"></div>
                        </c:if> 
                        
                        <ul class="select">
                            <li><a href="cadastroPorcentagemProjeto.xhtml"><b>Porcentagem do Projeto</b></a></li>
                        </ul>
                        <div class="divisao"></div>
                        
                        <ul class="select">
                            <li><a href="relatorio.xhtml"><b>Relatório</b></a></li>
                        </ul>
                    </div>        
                </div>
            </div>        
        </div>
        <div class="clear"></div>
        <div id="conteudo-fora"></div>
    </h:body>
</html>

